package com.example.demo.config;

/**
 * 企业微信配置
 *
 * @author 何俊
 */
public class WeConConfig {

  /*api基础url*/
  public static final String BASE_URL = "https://qyapi.weixin.qq.com/cgi-bin/";
  public static final String ID = "ww18b9de9283909342";
  /*获取access_token*/
  public static final String GET_TOKEN = BASE_URL + "gettoken";

  /**
   * 通讯录管理
   */
  public static class ContactsManagement {

    /*ACCESS_TOKEN*/
    public static final String ACCESS_TOKEN = "4KCR4oKuuy9vr7z7o2Jfetkn5KciZrJ8Q02dav0LhrE";

    /* 获取企业活跃成员数 */
    public static final String GET_ACTIVE_STAT = BASE_URL + "user/get_active_stat";

    /*获取加入企业二维码*/
    public static final String GET_JOIN_QRCODE = BASE_URL + "corp/get_join_qrcode";
    /*获取部门列表*/
    public static final String LIST_DEPARTMENT = BASE_URL + "department/list";
    /*创建部门*/
    public static final String CREATE_DEPARTMENT = BASE_URL + "department/create";
    /*更新部门*/
    public static final String UPDATE_DEPARTMENT = BASE_URL + "department/update";
    /*删除部门*/
    public static final String DELETE_DEPARTMENT = BASE_URL + "department/delete";
  }

  public static class Media {

    /*上传临时素材*/
    public static final String UPLOAD = BASE_URL + "media/upload";
    /*获取临时素材*/
    public static final String GET = BASE_URL + "media/get";
    /*上传图片*/
    public static final String uploadimg = BASE_URL + "media/uploadimg";

  }
}
